<?php
// +----------------------------------------------------------------------
// | YBlog
// +----------------------------------------------------------------------
// | Copyright (c) 2008 http://www.yhustc.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: yhustc <yhustc@gmail.com>
// +----------------------------------------------------------------------
// $Id$

/**
 +------------------------------------------------------------------------------
 * YBlog空模块 用于定义了短标题的日志URL的SEO优化
 +------------------------------------------------------------------------------
 * @author    yhustc <yhustc@gmail.com>
 * @version   $Id$
 +------------------------------------------------------------------------------
 */



class EmptyAction extends BaseAction
{
	function _empty()
	{
		
		$where = array();
		$where["post_status"] = "publish"; //访问的日志或页面必须是已发布的
		$where["post_name"] = MODULE_NAME;
		
		A('Blog')->show($where);
	}
}